﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using AutoBackupDatabase.ENT;
using AutoBackupDatabase.DAL;

namespace AutoBackupDatabase.BLL
{
    class ITEMTYPEBLL
    {
          private ITEMTYPEDAL dal;
        public ITEMTYPEBLL()
       {
           dal = new ITEMTYPEDAL();
       }

        public List<ITEMTYPEENT> GET_ITEMTYPE_ALL()
       {
           return dal.GET_ITEMTYPE_ALL();
       }
        public bool INSERTITEMTYPE(ITEMTYPEENT ent)
       {

           return dal.INSERTITEMTYPE(ent);

       }
        public bool UPDATEITEMTYPEBYITEMTYPEID(ITEMTYPEENT ent)
       {

           return dal.UPDATEITEMTYPEBYITEMTYPEID(ent);

       }
        public bool DELTELEITEMTYPEBYITEMTYPEID(ITEMTYPEENT ent)
       {

           return dal.DELTELEITEMTYPEBYITEMTYPEID(ent);

       }
    }
}
